home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
utility
/
xmore12.zip
/
XMORE.DOC
< prev
Wrap
Text File
|
1993-12-12
|
8KB
|
244 lines
xMore 1.2
12 December 1993
Copyright (c) 1993 by Jorma Oksanen. All rights reserved.
xMore is a freely distributable, copyrighted piece of software.
Since xMore is free, it comes with NO WARRANTIES. The author is not
responsible for any loss or damage arising from the use or inability to use
of xMore; the user takes all such responsibility.
No charge may be made for xMore, other than a nominal copy fee. xMore may not
be distributed with a commercial product without the author's prior
consent. xMore must be distributed with all documentation intact and
unaltered. Permission is expressly granted to Fred Fish to distribute on
his fine collection of disks.
Although xMore is freeware, DONATIONS WOULD BE GLADLY ACCEPTED, either
money or stuff you've written yourself.
What is it?
-----------
Yet another file reader, you might think, and you are right. I missed
small XPK-understanding file reader with reasonable feature list, but there
was none available. Most ( (c) 1992 by Uwe R÷hm) can hardly be called
small (but it surely has 'reasonable' feature list!). I have to admit that
xMore is currently bigger than I planned it to be, but people don't seem to
want small programs, they want features! So, what do you get?
- light speed search! No loss of speed even if case insensitive
and/or backwards!
- hex mode
- fast scrolling
- font sensitivity
- multiple files from shell, Workbench and file requester!
- opens on default public screen with display sized window
- variable TAB size! (now you can read those funny #?.c
files with too much TABs ;)
- freely definable keys!
- lots of small details like default zoomed size exactly one
line high. Small things make the difference!
- OS 2.04 required (sorry, v36 users. There just is too much
functions in RKMs with text 'this function is broken in V36'
that I didn't bother dodging them. To pre-2.0 users xMore is
Yet Another Reason To Update. Come on guys, do you use CP/M
at work or what ? ;)
Installation
------------
Just copy it! If you want to get most of it, check that you have in your
LIBS: drawer the following libraries:
asl.library needed for file requester
xpkmaster.library reason for xMore's existence!
commodities.library needed for defining keys (more about that later)
xMore works just fine without any (disk-based) libraries, so it's easy to
use with floppy systems and distribution disks.
Usage
-----
From workbench:
Just double-click on xMore's icon and it will open the file requester.
Alternatively you can select one or more text files with extended selection
(RTM) and then double-click on xMore. And ofcourse it works fine as
default tool, too.
If you give a drawer to xMore as one of the arguments, xMore will open
file requester in that drawer.
From shell:
Type "xMore" followed with zero or more file names. xMore works just as
from Workbench: without arguments it opens file requester, if you give it
a directory name, file requester opens there. By the way, it makes no
sense to give more than one drawer to xMore.
You can use multiple selection from file requester too. xMore does not
close it's window until you quit the last file you gave to it, but you can
force it to quit without reading rest of files using control-esq (or
whatever key you have binded FORCEQUIT to).
About ANSI
----------
xMore strips ANSI codes away. That allows faster scrolling, and as most
files don't contain ANSI (and hardly any of the ones that do use it to add
readability) I didn't bother. Styles may be added later, but don't expect
to see any color in xMore (unless I hear fron zillions of users that they
can't live without it, that is).
Keyboard
--------
Starting from version 1.2 xMore supports freely definable keymapping. I
got quite much suggestions like "why can't I jump-to-line with g?" (uh, you
can! It was just forgotten from so called docs. Be adventurous! Push
undefined buttons! Or better yet: pull 'em ! ;), "xMore jumps to bottom
with b. In UN*X it goes page back" etc. My first thought was "I can't
please everybody". Bit later (week or two): "EUREKA!". Why couldn't I
let user define keys himself. And bit later (yep) it works.
To define keys yourself create file "ENV:xMore/keys" (don't forget to
copy it to "ENVARC:xMore/keys" !) which is read by xMore every time it's
started. Each line describes one action and one key: <ACTION>=<key>.
Note that equal sign ("=") must follow <action> without any blanks. The
case of the characters IS significant. Lines starting with ";" are ignored
just for those who need to comment everything.
Following is a list of all defined actions with their default key bindings
and keywords. If default key is missing, that just means that you need to
define it yourself if you want it.
Action Default Keyword
Up one line up UP
Down one line down DOWN
Left TAB chars left LEFT
Right TAB chars right RIGHT
Up one page shift up PAGEUP
Down one page shift down PAGEDOWN
Beginning of line shift/alt/control left STARTOFLINE
Beginning of file control up TOP
End of file control down BOTTOM
Scroll up one page backspace SCROLLUP
Scroll down one page space SCROLLDOWN
Search case insensitive s SEARCH
Search case sensitive shift s SEARCHCASE
Search next n NEXT
Search previous p PREVIOUS
Goto bookmark F1 .. F10
Set bookmark shift F1 .. shift F10
Goto line g GOTOLINE
Set TAB size tab SETTAB
Set mode to ASCII ASCIIMODE
Set mode to HEX HEXMODE
Hex/ASCII toggle h TOGGLEMODE
Full redraw r REDRAW
Load new file(s) l LOAD
Quit/Next file ESC QUIT
Force quit ctrl-ESC FORCEQUIT
Do nothing NOP
If you define two (or more!) actions to same key, the later will be used.
This allows you to override default keys. NOP is useful if you want to
cancel default key without giving it new action.
Thanks
------
To all of my beta testers (there are lots of them - I consider 1.0 as
beta version of 1.1!).
To Urban Dominic Mueller, Bryan Ford and all others who make XPK feel
better than sliced bread.
And last but not least to Tommi Lahtonen for being my link to the net.
History
-------
; 1.0 ????
;
; First public release
;
; 1.1 15.10.1993
;
; If file was considered non-ASCII hex flag was toggled, not set.
; All errors given in requester if started from WB or run in
; background shell.
; Opens filerequester in specified directory (from WB too!).
; Filerequester defaults to previous files directory.
; Filename in window title no longer shows path.
; If given file is not found, and name does not end with
; ".xpk" or ".pp", xMore tries these exensions before reporting
; error. This is true only from workbench arguments.
; Search works in hex mode (it worked before, but position to jump
; to was calculated in ASCII-lines).
; Bookmarks now refer to line start address instead of line number
; to fix above mentioned hex-mode problem.
; Cursor left with ANY qualifier moves to extreme left
;
; 1.2 9.12.1993
; Attempting to prevent Great Keymapping Wars xMore now features
; arbitrary keymapping if commodities.library is available.
; Only ROM-based libraries are absolutely necessary.
; Lots of internal restructuring. Source looks much nicer now ;)
; At last distributed with something that can be called documentation
; (not perfect yet; coding is much easier than writing docs!).
Future
------
Tooltypes. Forced ascii/hex mode. Open on definable pubscreen.
Definable window dimensions. User definable font. Launch ENV:editor from
xMore. Up/down paragraph with alt up/down. Bold, italics, underline.
Wildcard search (maybe just '?' to keep it fast?). Menus. App
icon/window. Pipe support. Help! Word wrap. Show percentage. Goto
percentage. Ability to read crypted files. Multi-window mode.
Ralliraidat. etc.
And maybe some bug fixes... Come on guys (and gals!), send me bug
reports. I know of several minor bugs which I won't bother to fix before
someone else mentions them.
Contacting the author
---------------------
I can be reached with comments, suggestions, bug reports, praise, money
etc. at the following address:
Jorma Oksanen
Ratastie 5 A 3
14200 TURENKI
FINLAND
or by e-mail: hazor@niksula.hut.fi
tlahtone@snakemail.hut.fi